package com.zhousb.deviceManager.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhousb.deviceManager.model.entity.ImNotice;
import com.zhousb.deviceManager.model.enums.NoticeTypeEnum;
import com.zhousb.deviceManager.model.so.NoticeSo;
import com.zhousb.deviceManager.model.so.SimpleSo;

import java.util.List;

/**
 * @author ZhouShenBin
 * @date 2024/7/11 10:36
 * @description
 */

public interface NoticeService {

    IPage<ImNotice> page(Page<ImNotice> page, NoticeSo so);
    List<ImNotice> list();

    boolean read(String id);
    boolean readAll();

    void createNotice(NoticeTypeEnum type, String content, Long orderId,List<Long> targetUserIds);
}
